// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import cxivm from './cxivmInstall.js'
import router from './router'
import store from './store'
import cjcAPI from './cjcAPI'
import './style/cxivmTheme.less'
// import Swiper from 'swiper'
import 'swiper/dist/css/swiper.min.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// 滚动加载
import pullRefresh from 'cxivm/src/components/c-pullRefresh'
import App from './App.vue'

// cjcJSapi载入
Vue.use(cjcAPI)
Vue.use(cxivm)
// Vue.use(Swiper)
Vue.use(VueAwesomeSwiper)
Vue.use(pullRefresh)
// 生产模式下是否提示
Vue.config.productionTip = false

new Vue({
    el: '#app',
    components: {
        App
    },
    template: '<App/>',
    router,
    store,
    beforeCreate() {
        this.$cjc.viewInit()
    }
})
